﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Entity.DbEntity
{
     [CustomAttribute(TableName = "pi_PlanPaiGong_info", Description = "计划派工信息表")]
   public class DbPlanPaiGong
    {
        private int? _id;
        private string _tpcode;
        private string _gxcode;
        private string _groupcode;
        private string _number;
        private string _isurgent;
        private int? _isfinish;
        private string _sdate;
        private string _edate;
        private string _ornum;
        private int? _isneedin;
        private string _warecode;
        private int? _isdel = 0;
        private string _createuser;
        private string _createtime;
        private string _delmsg;
        private string _tpkey;
        /// <summary>
        /// 
        /// </summary>
        public int? id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 派工单编码
        /// </summary>
        public string tpCode
        {
            set { _tpcode = value; }
            get { return _tpcode; }
        }
        /// <summary>
        /// 关联计划号
        /// </summary>
        public string ppId
        {
            set;
            get;
        }

    
        /// <summary>
        /// 生产工序编码
        /// </summary>
        public string gxCode
        {
            set { _gxcode = value; }
            get { return _gxcode; }
        }
        /// <summary>
        /// 生产班组
        /// </summary>
        public string groupCode
        {
            set { _groupcode = value; }
            get { return _groupcode; }
        }
        /// <summary>
        /// 数量
        /// </summary>
        public string number
        {
            set { _number = value; }
            get { return _number; }
        }
        /// <summary>
        /// 是否紧急
        /// </summary>
        public string isUrgent
        {
            set { _isurgent = value; }
            get { return _isurgent; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? isFinish
        {
            set { _isfinish = value; }
            get { return _isfinish; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string sDate
        {
            set { _sdate = value; }
            get { return _sdate; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string eDate
        {
            set { _edate = value; }
            get { return _edate; }
        }
        /// <summary>
        /// 序号
        /// </summary>
        public string orNum
        {
            set { _ornum = value; }
            get { return _ornum; }
        }
        /// <summary>
        /// 是否需要入库
        /// </summary>
        public int? isNeedIn
        {
            set { _isneedin = value; }
            get { return _isneedin; }
        } 
        
        /// <summary>
        /// 入库仓库
        /// </summary>
        public string wareCode
        {
            set { _warecode = value; }
            get { return _warecode; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? isDel
        {
            set { _isdel = value; }
            get { return _isdel; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string createuser
        {
            set { _createuser = value; }
            get { return _createuser; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string createtime
        {
            set { _createtime = value; }
            get { return _createtime; }
        }
        /// <summary>
        /// 删除信息
        /// </summary>
        public string delMsg
        {
            set { _delmsg = value; }
            get { return _delmsg; }
        }
        /// <summary>
        /// 同批次标识码
        /// </summary>
        public string tpKey
        {
            set { _tpkey = value; }
            get { return _tpkey; }
        }
        public string memo { get; set; }
        /// <summary>
        /// 完成时间
        /// </summary>
        public string finishtime { get; set; }
        
        public decimal orderNum { get; set; }
        public string maCode { get; set; }
    }
}
